package com.example.consumer.controller;

import com.example.consumer.feign.UserFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Create by jian.pan on 2018/6/19
 */
@Service
public class UserService {

  @Autowired
  private UserFeignClient userFeignClient;

  public String getUser(){
   return  userFeignClient.getUser();
  }

}
